package com.hopes.bizz.close.statistic.vo;

import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * @author yumr
 * @ProjectName bizz
 * @Description 门禁进出 VO
 * @time 2024/1/30 10:58
 */
@Data
public class AccessInOutVO implements Serializable {

    private static final long serialVersionUID = -6971284186884941561L;

    /**
     * 下标
     */
    private String index;

    /**
     * 类型数量集合
     */
    private List<TypeNumVO> typeNumList;


    public AccessInOutVO(String index, List<TypeNumVO> typeNumList) {
        this.typeNumList = typeNumList;
        this.index = index.length() == 13 ? index + ":00" : index;
    }

}
